Pronamic\WordPress\Pay\Extensions\WooCommerce\Gateway C

Total Complexity 115
Dependencies 26
Dependents 2
Total lines 1,133
Lines of code 625
Logical lines of code 350
Comment lines 281
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
process_payment()
B
34 22 88
new_pronamic_payment_from_wc_order()
B
30 14 125
init_form_fields()
A
34 10 102
process_refund()
A
38 10 65
__construct()
A
40 10 60
get_pronamic_icon_url()
A
56 9 17
after_checkout_validation()
S
53 6 23
print_fields()
S
51 5 31
get_input_fields()
S
54 5 23
connect_subscription_payment_renewal()
S
57 5 16
has_pronamic_subscriptions_support()
S
61 4 14
get_pronamic_subscriptions()
S
60 3 14
maybe_add_refunds_support()
S
70 3 6
get_pronamic_option()
S
65 3 9
maybe_add_subscriptions_support()
S
61 2 13
store_payment_details()
S
76 1 4
get_wp_payment_method()
S
82 1 3
process_subscription_payment()
S
68 1 7
payment_fields()
S
73 1 5